//Created by Action Script Viewer - http://www.buraks.com/asv
package Message.Public {
	import Framework.MQ.*;
	import Engine.RMI.*;
	import Framework.Serialize.*;
	import Framework.Holder.*;
	
	public class EMapOwnerType {
		
		public var __value:int;
		
		public static const _EMapOwnerTypeSystem:int = 0;
		public static const EMapOwnerTypeSystem:EMapOwnerType = new EMapOwnerType(_EMapOwnerTypeSystem);
		;
		public static const _EMapOwnerTypeFamily:int = 1;
		public static const EMapOwnerTypeFamily:EMapOwnerType = new EMapOwnerType(_EMapOwnerTypeFamily);
		;
		public static const _EMapOwnerTypePlayer:int = 2;
		public static const EMapOwnerTypePlayer:EMapOwnerType = new EMapOwnerType(_EMapOwnerTypePlayer);
		;
		
		private static var __values:Array = [];
		
		public function EMapOwnerType(_arg1:int){
			this.__value = _arg1;
			__values[_arg1] = this;
		}
		public function value():int{
			return (this.__value);
		}
		public function equals(_arg1:Object):Boolean{
			if (this == _arg1){
				return (true);
			};
			var _local2:ERMICallModel = (_arg1 as ERMICallModel);
			if (_local2 == null){
				return (false);
			};
			return ((this.__value == _local2.value()));
		}
		public function hashCode():int{
			return ((5 * this.__value));
		}
		public function __write(_arg1:SerializeStream):void{
			_arg1.writeByte(this.__value);
		}
		
		public static function convert(_arg1:int):EMapOwnerType{
			return (__values[_arg1]);
		}
		public static function __read(_arg1:SerializeStream):EMapOwnerType{
			var _local2:int = _arg1.readByte();
			if ((((_local2 < 0)) || ((_local2 >= 3)))){
				throw (new MarshalException());
			};
			return (EMapOwnerType.convert(_local2));
		}
		
	}
}
